export const FlyTo = ({ view, lnglat = [114, 30] }) => {
  view.animate({
    center: lnglat,
    zoom: 10,
    duration: 3000,
  })
}
